package com.xydtech.system.service.impl;

import com.xydtech.system.domain.SysMainPage;
import com.xydtech.system.mapper.SysMainPageMapper;
import com.xydtech.system.service.ISysMainPageService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * 参数配置 服务层实现
 *
 * @author xydtech
 */
@Service
public class SysMainPageServiceImpl implements ISysMainPageService {
    @Autowired
    private SysMainPageMapper sysMainPageMapper;

    /**
     * 查询首页信息
     *
     * @param mainPage 首页信息
     * @return 首页信息
     */
    public SysMainPage selectMainPage(SysMainPage mainPage) {
        return sysMainPageMapper.selectMainPage(mainPage);
    }
}
